# Maintainer: Steffen Nurpmeso <steffen@sdaoden.eu>
pkgname=s-postgray
pkgver=0.7.0
pkgrel=0
pkgdesc="postfix RFC 6647 graylisting policy server"
url="https://www.sdaoden.eu/code.html#s-toolbox"
arch="all"
license="ISC"
subpackages="$pkgname-doc"
source="https://ftp.sdaoden.eu/s-postgray-$pkgver.tar.gz"

build() {
	make
}

check() {
	./s-postgray-test.sh
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
1fa7bc4a901e1d69f82abb254163859d6208306fcf8fdd17d2e4ab94fbbdafcbb400e7591723ea3a8e22dace35616d2de0327bca820c1b73ea12fdcecc329a67  s-postgray-0.7.0.tar.gz
"
